package com.ditian.model;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * 无法被加入FaceSet的face_token以及原因
 * @author chenweiyi
 *
 */
public class FailureDetail {
	
	/**
	 * 人脸标识
	 */
	@JSONField(name="face_token")
	private String faceToken;
	
	/**
	 * 不能被添加的原因，包括 INVALID_FACE_TOKEN 人脸表示不存在 ，QUOTA_EXCEEDED 已达到FaceSet存储上限
	 */
	@JSONField(name="reason")
	private String reason;

	public String getFaceToken() {
		return faceToken;
	}

	public void setFaceToken(String faceToken) {
		this.faceToken = faceToken;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	@Override
	public String toString() {
		return "FailureDetail [faceToken=" + faceToken + ", reason=" + reason
				+ "]";
	}
	
	

}
